import request from '@/utils/request'

//工单维度统计
export function getOrderList(params) {
  return request({
    url: '/statistics/staff/order/list',
    method: 'get',
    params
  })
}

//设备维度统计
export function getDeviceList(params) {
  return request({
    url: '/statistics/staff/device/list',
    method: 'get',
    params
  })
}
//工单维度工单详情
export function getDetailOrderList(params) {
  return request({
    url: '/statistics/staff/order/detail/workOrderList',
    method: 'get',
    params
  })
}
//设备维度工单详情
export function getDetailDeviceList(params) {
  return request({
    url: '/statistics/staff/device/detail/deviceList',
    method: 'get',
    params
  })
}
//工单维度详细数据
export function getOrderDetailSubList(params) {
  return request({
    url: '/statistics/staff/order/detail/subList',
    method: 'get',
    params
  })
}
//设备维度详细数据
export function getDeviceDetailSubList(params) {
  return request({
    url: '/statistics/staff/device/detail/subList',
    method: 'get',
    params
  })
}